/**
 * Bestpay.com.cn Inc.
 * Copyright (c) 2011-2018 All Rights Reserved.
 */
package com.sgzn.sgpay.enums;

/**
 * 序列值标记枚举
 * @author zhongzhongyong
 * @version Id: SeqFlagEnum.java, v 0.1 2018/4/1 16:48 zhongzhongyong Exp $$
 */
public enum SeqFlagEnum {

    USER_ID("01", "用户id"),
    MERCHANT_ID("02", "商户id"),
    T_MAIN_ORDER_ID("03", "主订单id"),
    T_PAY_ORDER_ID("04", "支付单id"),
    USER_ACCOUNT_ID("05", "用户账户单id"),
    MERCHANT_ACCOUNT_ID("06", "商户账户id"),
    T_BIZ_ORDER_ID("07", "业务单id"),
    PRIVILEGE_ID("08", "业务单id"),
    SHOP_ID("09", "门店id"),
    PRESENT_ID("10","礼品id"),
    WITHDRAW_ORDER_ID("11","提现订单id"),
    WX_RANDOM("98", "微信随机数生成"),
    TOKEN("99", "Token凭证")
    ;

    private String code;
    private String desc;

    private SeqFlagEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "AppName(code=" + this.getCode() + ", desc=" + this.getDesc() + ")";
    }

    public String getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }

}
